

package com.hazelcast.query.extractor;

/**
 * Enables notifying about values extracted in a {@link com.hazelcast.query.extractor.ValueExtractor}
 *
 * @param <T> type of the extracted value
 */
@FunctionalInterface
public interface ValueCallback<T> {

    /**
     * Notifies about a value passed as an argument
     *
     * @param value value to be notified about
     */
    void onResult(T value);

}
